<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/struts-nested.tld" prefix="nested"%>
<%@ taglib uri="/WEB-INF/displaytag.tld" prefix="displayTag"%>
<%@ page import = "com.app.sgd.util.SessionConstants" %>
<%@ page import = "com.app.sgd.util.Constants" %>

<html:html>
<head>
<LINK href="<%=request.getContextPath()%>/incluidos/css/dhtml-vert.css" rel="stylesheet" type="text/css">
<LINK href="<%=request.getContextPath()%>/incluidos/css/dhtml-select.css" rel="stylesheet" type="text/css">
<title>SUNASA - SISTEMA DE TRAMITE DOCUMENTARIO</title>
 
<script language="JavaScript">		
	function seleccionarPerfil(indice){
	 	document.forms[0].method.value="seleccionarPerfil";
	 	document.forms[0].index.value=indice;
		document.forms[0].submit();	
	}
	
	function inicio(){
		document.forms[0].codUserLogin.focus();
	}

</script>
</head>
<body bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0" class="fondoPrincipal">
<%@ include file="/template/header.jsp" %>

<html:form styleId="form" action="Inicio.do" method="post" scope="session">
	<input type="hidden" name="index" value="-1">
	<input type="hidden" name="method" value="">
 <table width="25%" border="0" cellpadding="0" cellspacing="0" align="center" class="perfiles" >
	<caption>SELECCIONE UN PERFIL</caption>
	<tr>
		<td><br></td>
	</tr>
    <tr>
        <td align="center">
			<logic:present name="<%=SessionConstants.LISTA_PERFILES_USUARIO%>" scope="session">
				<displayTag:table title="" name="<%=SessionConstants.LISTA_PERFILES_USUARIO%>" 
						  scope="session"  align="center" pagesize="<%=Constants.DISPLAYTAG_TABLE_PAGE_SIZE%>" id="perfil" width = "300">
					<displayTag:column title="" property="nombreEnlace" width="25%" align="left"/>	
				</displayTag:table>
			</logic:present>
		</td>            
    </tr> 
 </table>
</html:form>
</body>
</html:html>
